(function() {
    'use strict';
    angular.module('weApp.controllers')
            //公告栏
            .controller('boardContentCtrl', ['$scope', '$rootScope', 'localStorageService',
                function($scope, $rootScope, localStorageService) {
                    if (!$rootScope.title) {
                        $rootScope.title = localStorageService.get("noticeTit");
                        $rootScope.content = localStorageService.get("noticeCon");
                    }
                    $('#c-title').html($rootScope.title);
                    $('#c-text').html($rootScope.content);
                }]);
})();